package com.hgw.Demo06_MementoPattern.examples;

/**
 * Data time:2021/12/18 21:07
 * StudentID:2019112118
 * Author:hgw
 * Description: 象棋棋子备忘录管理类，充当负责人
 */
public class MementoCaretaker {
    private ChessmanMemento memento;

    public ChessmanMemento getMemento() {
        return memento;
    }

    public void setMemento(ChessmanMemento memento) {
        this.memento = memento;
    }
}
